//
//  BKMessageTableViewCell.m
//  baokaodaxue
//
//  Created by dangyangyang on 15/5/27.
//  Copyright (c) 2015年 报考大学. All rights reserved.
//

#import "BKMessageTableViewCell.h"

@implementation BKMessageTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}


- (void)drawRect:(CGRect)rect{
    CGContextRef context = UIGraphicsGetCurrentContext();
    CGContextSetLineWidth(context, 1.0);
    
    CGContextSetStrokeColorWithColor(context, [UIColor grayColor].CGColor);
    
    CGFloat dashArray[] = {2,2,2,2};
    
    CGContextSetLineDash(context, 3, dashArray, 4);
    
    CGContextMoveToPoint(context, 0, rect.size.height-2);
    
    CGContextAddLineToPoint(context, rect.size.width, rect.size.height-2);
    
    CGContextStrokePath(context);
    
}
@end
